package com.anywide.bean.user;
import java.io.Serializable;
public class User implements Serializable {
    /** 用户id */ 
    private Integer userid;
    /** 用户组 */  
    private Integer ugid;

    /** 昵称 */
    private String nickname;

    /** 手机号 */
    private String mobile;

    /** 密码 */
    private String password;

    /** 密钥 */
    private String securekey;

    /**  */
    private String userheadpath;

    /** 注册时间 */
    private Integer addtime;

    /** 最后登录时间 */
    private Integer lastlogintime;

    /** 登录次数 */
    private Integer logintime;

    /** ip地址 */
    private String ipaddress;
    
    /** 金币 */
    private Double gold;

    /** 设备名称 */
    private String device;

    /** 设备码 */
    private String devicecode;
    
    /** 手机系统版本 */
    private String systemVersion;
    
    /** 会购APP当前版本 */
    private String currentVersion;
    
    /** 身份码 */;
    private String authentication;
    
    /** 通道号,目前用于百度推送 */;
    private String channelId;

    /** 虚拟用户*/
    private Integer vu;
    
    /** 第三方登录 openid */;
    private String openid; 
    
    /** 第三方登录来源 1为QQ,2为微信 */;
    private Double loginSource; 
    
    /**liwanshan 应用来源*/
    private String apkSource;
    
    /**liwanshan 红包差一天过期数*/
    private Integer expirednum;
    
    /**liwanshan 累计投入*/
    private Double ordermoney;
    
    /**liwanshan 累计奖金折合*/
    private Double gprice;
    
    /**yinss 累计投入不含红包*/
    private Double ordermoneyNRP;
    
    /**gordon 联系电话*/
    private String contactMobile;
    
    /**gordon 真实姓名*/
    private String realname;
    
    /**gordon 身份证号码*/
    private String idcard;
    
    /**gordon 认证标识*/
    private Integer certificationmark;
    
    /** appid 多应用标识 laingyongxing */
    private Integer appid;
    
	private static final long serialVersionUID = 1L;
	
    public Integer getCertificationmark() {
		return certificationmark;
	}

	public void setCertificationmark(Integer certificationmark) {
		this.certificationmark = certificationmark;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getContactMobile() {
		return contactMobile;
	}

	public void setContactMobile(String contactMobile) {
		this.contactMobile = contactMobile;
	}

	public Double getOrdermoneyNRP() {
    	ordermoneyNRP = ordermoneyNRP == null ? 0 : ordermoneyNRP;
		return ordermoneyNRP;
	}

	public void setOrdermoneyNRP(Double ordermoneyNRP) {
		this.ordermoneyNRP = ordermoneyNRP;
	}

	public Double getLoginSource() {
		return loginSource;
	}

	public void setLoginSource(Double loginSource) {
		this.loginSource = loginSource;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	/**
     * 获取[userid]
     * @return userid
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * 设置[userid]
     * @param userid
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    /**
     * 获取[]
     * @return ugid
     */
    public Integer getUgid() {
        return ugid;
    }

    /**
     * 设置[]
     * @param ugid
     */
    public void setUgid(Integer ugid) {
        this.ugid = ugid;
    }

    /**
     * 获取[昵称]
     * @return nickname
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 设置[昵称]
     * @param nickname
     */
    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    /**
     * 获取[手机号]
     * @return mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置[手机号]
     * @param mobile
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * 获取[密码]
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置[密码]
     * @param password
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 获取[密钥]
     * @return securekey
     */
    public String getSecurekey() {
        return securekey;
    }

    /**
     * 设置[密钥]
     * @param securekey
     */
    public void setSecurekey(String securekey) {
        this.securekey = securekey == null ? null : securekey.trim();
    }

    /**
     * 获取[]
     * @return userheadpath
     */
    public String getUserheadpath() {
        return userheadpath;
    }

    /**
     * 设置[]
     * @param userheadpath
     */
    public void setUserheadpath(String userheadpath) {
        this.userheadpath = userheadpath == null ? null : userheadpath.trim();
    }

    /**
     * 获取[注册时间]
     * @return addtime
     */
    public Integer getAddtime() {
        return addtime;
    }

    /**
     * 设置[注册时间]
     * @param addtime
     */
    public void setAddtime(Integer addtime) {
        this.addtime = addtime;
    }

    /**
     * 获取[最后登录时间]
     * @return lastlogintime
     */
    public Integer getLastlogintime() {
        return lastlogintime;
    }

    /**
     * 设置[最后登录时间]
     * @param lastlogintime
     */
    public void setLastlogintime(Integer lastlogintime) {
        this.lastlogintime = lastlogintime;
    }

    /**
     * 获取[登录次数]
     * @return logintime
     */
    public Integer getLogintime() {
        return logintime;
    }

    /**
     * 设置[登录次数]
     * @param logintime
     */
    public void setLogintime(Integer logintime) {
        this.logintime = logintime;
    }

    /**
     * 获取[ip地址]
     * @return ipaddress
     */
    public String getIpaddress() {
        return ipaddress;
    }

    /**
     * 设置[ip地址]
     * @param ipaddress
     */
    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress == null ? null : ipaddress.trim();
    }

    /**
     * 获取[设备名称]
     * @return device
     */
    public String getDevice() {
        return device;
    }

    /**
     * 设置[设备名称]
     * @param device
     */
    public void setDevice(String device) {
        this.device = device == null ? null : device.trim();
    }

    /**
     * 获取[设备码]
     * @return devicecode
     */
    public String getDevicecode() {
        return devicecode;
    }

    /**
     * 设置[设备码]
     * @param devicecode
     */
    public void setDevicecode(String devicecode) {
        this.devicecode = devicecode == null ? null : devicecode.trim();
    }

	/**
	 * @return the gold
	 */
	public Double getGold() {
		gold = gold == null ? 0 : gold;
		return gold;
	}

	/**
	 * @param gold the gold to set
	 */
	public void setGold(Double gold) {
		this.gold = gold;
	}

	public String getSystemVersion() {
		return systemVersion;
	}

	public void setSystemVersion(String systemVersion) {
		this.systemVersion = systemVersion;
	}

	public String getCurrentVersion() {
		return currentVersion;
	}

	public void setCurrentVersion(String currentVersion) {
		this.currentVersion = currentVersion;
	}

	public String getAuthentication() {
		return authentication;
	}

	public void setAuthentication(String authentication) {
		this.authentication = authentication;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public Integer getVu() {
		return vu;
	}

	public void setVu(Integer vu) {
		this.vu = vu;
	}

	public String getApkSource() {
		return apkSource;
	}

	public void setApkSource(String apkSource) {
		this.apkSource = apkSource;
	}

	public Integer getExpirednum() {
		return expirednum;
	}

	public void setExpirednum(Integer expirednum) {
		this.expirednum = expirednum;
	}

	public Double getOrdermoney() {
		ordermoney = ordermoney == null ? 0 : ordermoney;
		return ordermoney;
	}

	public void setOrdermoney(Double ordermoney) {
		this.ordermoney = ordermoney;
	}

	public Double getGprice() {
		gprice = gprice == null ? 0 : gprice;
		return gprice;
	}

	public void setGprice(Double gprice) {
		this.gprice = gprice;
	}

	public Integer getAppid() {
		return appid;
	}

	public void setAppid(Integer appid) {
		this.appid = appid;
	}

	
	
}
